/**
 * @description: appconfig参数校验
 * @version: 0.0.1
 * @author: ljr
 * @Date: 2023-06-08 14:07:35
 */

import { Rule } from '@midwayjs/validate';
import { requiredString, requiredAny, requiredNumber } from "./common";

// 查询列表
export class PageListsDTO {
  @Rule(requiredString)
  mfagentid: string;
  @Rule(requiredString)
  mfuuid: string;
  @Rule(requiredAny)
  searchKey: any;
  @Rule(requiredNumber)
  pageNum: number;
  @Rule(requiredNumber)
  pageSize: number;
}

// 新增用户
export class InsertUserDTO {
  @Rule(requiredString)
  mfagentid: string;
  @Rule(requiredString)
  mfuuid: string;
}

